<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
request.setCharacterEncoding("utf-8");
String ip=request.getRemoteHost();
out.print("ip"+ip);

String name=request.getParameter("stuname");
out.print("name"+name);
String pass=request.getParameter("pass");
out.print("pass"+pass);
String tel=request.getParameter("tel");
out.print("tel"+tel);
String[] like=request.getParameterValues("like");
if(like!=null){
	for(Object o:like){
		out.print("&nbsp;"+o);
	}
}

%>
</body>
</html>